/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.co.mzansicarrental.app.factory;

import java.util.Date;
import java.util.Map;
import za.co.mzansicarrental.model.Customer;
import za.co.mzansicarrental.model.Reservation;

/**
 *
 * @author Siya
 */
public class AppFactory {
    
    public static Customer createCustomer(int custNumber,String name, String surname,String addr, long phone){
    
        Customer customer = new Customer();
        customer.setCustNumber(custNumber);
        customer.setFirstName(name);
        customer.setLastName(surname);
        customer.setAddress(addr);
        customer.setContactNo(phone);
        
        return customer;
        
    }
   
}
